package com.linlw.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    /**
     * GET http://localhost:8080/hello
     * @return "hello world"
     */
    @GetMapping("hello")
    public String test() {
        return "hello world";
    }
}
